package com.zxc.gulimall.seckill.service;

import com.zxc.gulimall.seckill.to.SeckillSkuRedisTo;

import java.util.List;

public interface SeckillService {
    void uploadSeckillSkuLatest3Days();

    List<SeckillSkuRedisTo> getCurrentSeckillSkus();

    //根据商品Id找到对应的需要参与秒杀的商品
    SeckillSkuRedisTo getSkuSeckilInfo(Long skuId);


    String kill(String killId, String key, Integer num);
}
